<?php


/**
 * Radcodes - SocialEngine Module
 *
 * @category   Application_Extensions
 * @package    Cmspage
 * @copyright  Copyright (c) 2009-2010 Radcodes LLC (http://www.radcodes.com)
 * @license    http://www.radcodes.com/license/
 * @version    $Id$
 * @author     Vincent Van <vincent@radcodes.com>
 */
 
 
?>
<?php if ($this->paginator->getTotalItemCount()): ?>
  <ul>
    <?php foreach( $this->paginator as $item ): ?>
      <li>
        <div class="cmspage_title">
          <?php echo $this->htmlLink($item->getHref(), $item->getTitle()) ?>
        </div> 
        <?php if ($this->show_page_details): ?>
          <div class="cmspage_details">
            <?php echo $this->timestamp(strtotime($item->creation_date)) ?>
          </div>
        <?php endif; ?>        
      </li>
    <?php endforeach; ?>
  </ul>
<?php endif; ?>